package com.catt.orderdinner.dataobject;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity
@Data
public class TbOrder {
    @Id
    private String orderId;

    /** 用户ID. */
    private String userId;

    /** 用户姓名. */
    private String userName;

    /** 项目编号. */
    private String projectTpey;

    /** 订单总价格. */
    private int orderAmount;

    /** 创建时间. */
    private Date createTime;

    /** 更新时间. */
    private Date updateTime;

}
